<template>
  <div class="home" id="head">
    <a href="#">
      <img alt="Vue logo" id="logo" src="../assets/logo.jpg">
    </a>
    <a href="#">
      <div id="head-name">
        <span>网易云音乐</span>
      </div>
    </a>
        <button id="head-button">下载APP</button>
    <HelloWorld msg="Welcome to Your Vue.js App"/>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'

export default {
  name: 'HomeView',
  components: {
    HelloWorld
  }
}
</script>
<style scoped>
/* #head{
  background: #e42626;
  height: 5rem;
  width: 100%;
}
#head-name{
  font-family: 宋体;
  font-size: 1.5rem;
  color: rgb(255, 255, 255);
  float: left;
  margin: 1.5rem 0 0.5rem 1rem;
  font-weight: bold;
}
#head-button{
  float: right;
  margin: 1.2rem 1rem 1rem 0;
  border-radius: 5rem;
  width: 7rem;
  height: 2.6rem;
  background: #ffffff;
  border: none;
  color: rgb(200, 29, 29);
}
#logo{
  float: left;
  margin: 1.5rem 0 1rem 1rem;
  border-radius: 2rem;
  width: 2rem;
  height: 2rem;
} */
</style>
